package com.liliudong.pinkyponk.biz.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liliudong.pinkyponk.biz.sys.entity.SysUserOrg;

import java.util.List;

/**
 * SysUserOrgService
 *
 * @author liliudong
 * @date 2022-06-03 22:44
 **/
public interface SysUserOrgService extends IService<SysUserOrg> {

    /**
     * saveBatchByUserId
     *
     * @param userId
     * @param orgIds
     */
    void saveBatchByUserId(Long userId, List<Integer> orgIds);

    /**
     * removeByUserId
     *
     * @param userId
     */
    void removeByUserId(Long userId);
}
